#pragma once
#ifndef _GAMEENGINE_H_
#define _GAMEENGINE_H_
#include "../View/Input/EasyXInput.h"
#include "../View/Render/RendererFactory.h"
#include "../View/Render/Renderer.h"
#include "../View/Input/InputFactory.h"
#include "../View/Input/EasyXInput.h"
#include "../View/Input/Input.h"
#include "../Logic/Player.h"
class Application {
private:
    bool running = true;
    DWORD time1 = 0;
    DWORD time2 = 0;
    DWORD delta_time = 0;
    Renderer* renderer = nullptr;
    Input* input = nullptr;
public:

    bool Init(Renderer*& renderer,Input*& input);
    void Run();
    void Shutdown();//释放资源
};
#endif
